# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         3.4
# Description:
# Author:       dell
# Date:         2019/ajaxdata.json/17
#-------------------------------------------------------------------------------
while True:
    x = input('请输入表达式：')
    if  x != 'end':
       print(eval(x))
       continue
    else:
        break;
